css parser test: Drop remaining made-up properties
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:53:09 +0000 (14:53 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:53:09 +0000 (14:53 -0500)
These are not used anymore in any tests, and the css parser
doesn't support parsing custom properties anymore.

testsuite/css/parser/test-css-parser.c

index b480abcde8c263c206f496910bbc02aab8ae6b13..632fb7403ba7f3bdd0862cab8b0f0c555df4b681 100644 (file)
@@ -300,35 +300,6 @@ main (int argc, char **argv)
 {
   gtk_test_init (&argc, &argv);
 
-  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
-  /* Add a bunch of properties so we can test that we parse them properly */
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_int ("int-property",
-                                                            "int property",
-                                                            "test int properties",
-                                                            G_MININT, G_MAXINT, 0,
-                                                            G_PARAM_READABLE));
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_uint ("uint-property",
-                                                             "uint property",
-                                                             "test uint properties",
-                                                             0, G_MAXUINT, 0,
-                                                             G_PARAM_READABLE));
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_string ("string-property",
-                                                               "string property",
-                                                               "test string properties",
-                                                               NULL,
-                                                               G_PARAM_READABLE));
-  gtk_style_properties_register_property (NULL,
-                                          g_param_spec_enum ("enum-property",
-                                                             "enum property",
-                                                             "test enum properties",
-                                                             GTK_TYPE_SHADOW_TYPE,
-                                                             0,
-                                                             G_PARAM_READABLE));
-  G_GNUC_END_IGNORE_DEPRECATIONS;
-
   if (argc < 2)
     {
       const char *basedir;